How can I combine PDF files and automatically create a table of contents? I have a bunch of PDF files named, say, chapter1, chapter2, etc. I would like to combine them into a single file and create a table of contents where each file gets an entry.

If memory serves, there used to be a tool called CombinePDFs that could do that, but it was written as a RealBASIC application and does not seem to work on OS X 10.8 anymore.

Any alternative suggestion?

Note: it's really about the automatic table of contents feature; I know how to merge/join/combine PDF files without one.
PDFCombo, new free app for Mac OS X, combines PDFs and preserves the table of contents. It can also add a TOC entry based on filename to link to first page of every contributing PDF in the combined PDF.

Download here: http://www.onekerato.com/downloads.html