I've added an answer to ![the tex.sx question][http://tex.stackexchange.com/questions/38412/import-input-pgfplots-with-relative-paths/241971#241971]. It's just a workaround but could maybe be used as a first step...