Hello!
I've been where you are right now and let me tell you in my personal opinion, it's better to buy a small mixing console of the shelf.
There are ways to build a mixer of course. You can go passive (just jacks and pots) but that isn't really something you would bring on stage. You can go active but you won't even get half the functions of what a commercial mixer will have.
Again, this is my personal opinion. I tried building mixing stuff but I ended up with a little 4 channel mixer off the shelf and never thought about it again.