http://coulomb.mechanik.tu-darmstadt.de/user/emmel/Latex/textree
it looks all up with "inputs", "include", "(e)psfig" etc. merged files, recursively. All TeX files found in the current directory are to be included.