Why would you want to rebuild all the indexes though, unless you are changing the Index Level?
The table IndexVolume has a column Rebuilding.
You can manually or using SQL change a handfull of these tables to "1" or "True" (depending on the version of EV).
Then cycle the Index Server service and those indexes will begin to rebuild.
The only real reason that I can think of to ever "rebuild" an index though it to change the Index Level (full, medium, brief). Make sure you do a complete backup of the index locations before you begin the rebuilds. In a week or month you may decide this was not a good idea.