Multi-parameter optical sensor and method for optical sensor manufacturing