I can not vouch for this personally because I do not have a mouse like yours, but you might want to try package imwheel available through synaptic package manager (or apt-get)
Here is the description in synaptic:
program to support non-standard buttons on new mice
Many new mice include side or "thumb" buttons that have little or no function
in Linux, as well as a wheel that is still not used by all applications.
IMWheel supports these non-standard buttons and/or wheel operations by
allowing the user to map their input to key combinations which can vary
depending on the application in use.
Homepage:
http://imwheel.sourceforge.net
Good Luck!