convert each ps file into pdf separately.
i=1
ls *4.0*.ps |while read line
do
gs -dBATCH -dSAFER -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=new.${i}.pdf ${line}
i=$(($i+1))
done
Then use pdftk-server (http://www.pdflabs.com/tools/pdftk-server/) to merge all pdf files into one pdf.
pdftk new.*.pdf output output.pdf