Modular setup for a miniaturized chemical analysis system