Use the Ghostscript command line tool to concatenate PDF files into a single document.
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=<outfile> <infile> <infile> ...