Here's my genius answer: Use a router on a solid piece of wood. \:\)

Start with a square of wood of the right dimensions and thickness.
Mark the dividers, choose a router bit with the desired profile, and then route around those divider lines.

Ta da! No joining necessary.