You just write down the scale and take the triads moving up the scale.
If you number the notes in a typical eight note (seven different notes) scale:
1 2 3 4 5 6 7 1 2 3 4 5 6 7
The chords are:
1 3 5
2 4 6
3 5 7
4 6 1
5 7 2
6 1 3
7 2 4
If you do this for four note chords (seventh chords) you just start with 1 3 5 7, and move up with four note chords.
If you write out the scale, and pick the chords moving up the scale, you will have figured out the scale chords.
But, darn, much of western major/minor music has a very important V (dominant five chord, in jazz typically the dominant seventh chord) to I (tonic or root chord) chord progression movement. The tension of the five seventh chord to the release of the tonic chord. But when you do the above to figure out the minor scale chords, the five chord is not a dominant seventh chord.
So...in some music we simply alter the scale. This is where the other minor scales come from.
Look at this thread:
Please explain the minor scales for me