My scanner generates two PDF files. One with the odd pages and another one with the even pages in reverse order. The simple and fastest way is to merge these PDFs is to use pdftk.

Here is an example:

$ apt-get install pdftk
$ pdftk A=odd.pdf B=even.pdf shuffle A Bend-1 output out.pdf