Chemical labs use devices made for this purpose. They're called shakers and they're available in many variations.
You can also get paint shakers, which will be cheaper but may need to be adapted to hold multiple small bottles instead of a paint can.