You probably need to add the following to the Mouse section of your XF86Config file (in the /etc/X11 directory)
Code:
Option "ZAxisMapping" "4 5"
Post the contents of your XF86Config, along with the distro you're using and some details about your equipment (and mouse) if the above doesn't help. -- J.W.