Reasons for a rock-a-by cabinet
1: Pieces were not measured and cut correctly.
2: Pieces were assembled without using a square,straightedge,level,clamps,glue ect ...
3: Not enough gussets (corner braces) or reinforcing supports throughout the cabinet.
4: Seriously uneven floor (highly unlikely)
If you didn't use glue (which you should have) I would take it apart and rescrew it back together making sure everything is square and even. You will have to fill in the old screw holes so that the new screws don't chase the old holes. Shove a toothpick with glue on it into the hole and break it off flush with the surface. Fill any remaining crevises with wood filler like "Plastic Wood" brand. wait for it to dry and sand it smooth. If reassembling isn't an option than you might consider using some ajustable leg levelers from Happ Controls or even Home Depot might have something similar. Leg levelers are used for a variaty of cabinets and furniture so check the hardware stores first. Happ Controls may not ship such a small order If you haven't ordered buttons and joysticks then add the levelers to the list. Remember if you don't straighten the cabinet now it will haunt you throughout the rest of your project. Especially trying to measure and line up your moniter, making a bezel, cutting plexi for the marquee ect... Nothing will fit quite right.
Hope this helps and best of luck !

S.M.