You need the splines in the shaft to account for engine movement. A one-piece shaft does not have them.
US driveshafts have the splines at the transmission end so these can be one-piece; BMW does not do this.
Just get a replacement, or have yours re-built and re-balanced at a reputable shop. Also replace the carrier bearing and guibo while you're at it.