Or you could find a fabric style that has different colors in different parts so that by buying 1/2 yard you can get what you need.
Good luck at that.
Your best bet...if this is all you need/want--find a quilting buddy who would give you these 9 pieces of fabric. Sounds to me like you are new to quilting/sewing....if you lived around here, I'd quickly give you these 9 squares in the colors you want/need.